//
//  UIView+frame.h
//  mobileTerminal
//
//  Created by li on 16/1/7.
//  Copyright © 2016年 harsons. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (frame)

@property (assign, nonatomic) CGFloat x;
@property (assign, nonatomic) CGFloat y;
@property (assign, nonatomic,readonly) CGFloat maxX;
@property (assign, nonatomic,readonly) CGFloat maxY;
@property (assign,nonatomic) CGFloat centerX;
@property (assign,nonatomic) CGFloat centerY;
@property (assign, nonatomic) CGFloat width;
@property (assign, nonatomic) CGFloat height;
@property (assign, nonatomic) CGSize size;
@property (assign, nonatomic) CGPoint origin;


- (void)moveX:(CGFloat)x Y:(CGFloat)y;

@end
